package smartlifev30.com.sdk.api.service_app;

import android.support.annotation.NonNull;

import smartlifev30.com.sdk.api.CallBack;
import smartlifev30.com.sdk.bean.response.HeartbeatResponse;


/**
 * Created by tys on 2018/8/12.
 */

public interface IHeartbeat {

    /**
     * 和服务器心跳
     * @param userName
     * @param token
     */
    void hearBeat2Server(@NonNull String userName, @NonNull String token, @NonNull CallBack<HeartbeatResponse> callBack);


}
